package org.lennon.demo.ddd.message.impl;

import org.lennon.demo.ddd.message.MessageSender;
import org.springframework.stereotype.Component;

@Component
public class RocketMQMessageSender implements MessageSender {

    @Override
    public boolean sendMessage(String topic, String tag, byte[] bytes) {
        // rocketmq producer send...
        return true;
    }
}
